/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the wrench4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package cn.mawenda.docker.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 容器监控统计日志记录表
 *
 * @author Ma.wenda
 * @date 2024-05-16 15:10:45
 */
@Data
@TableName("container_monitor_log")
@Schema(description = "容器监控统计日志记录表")
public class ContainerMonitorLog {

    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description ="主键ID")
    private Long id;

    /**
     * 容器名称
     */
    @Schema(description ="容器名称")
    private String containerName;

    /**
     * cpu
     */
    @Schema(description ="cpu")
    private Double cpuUsage;

    /**
     * 内存
     */
    @Schema(description ="内存")
    private Double memoryUsage;

    /**
     * 网络ID
     */
    @Schema(description ="网络ID")
    private String networkIo;

    /**
     * 容器唯一标识
     */
    @Schema(description ="容器唯一标识")
    private String containerCode;

    /**
     * 创建时间
     */
    @Schema(description ="创建时间")
    private LocalDateTime createTime;

}
